/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017-2027 Chinazyjr,Inc.All Rights Reserved.
 */

package com.sys.midware.MQ.rocketMQ.model;

import java.io.Serializable;

/**
 * <b>ClassName:</b> SendResult.java <br/>
 * <b>Description:</b> 消息实体<br/>
 * <b>Date:</b> 2015年10月19日 下午3:41:27<br/>
 * 
 * @author mobing
 * @version
 */
public class BMessage implements Serializable {

    private static final long serialVersionUID = 4740477499716538734L;

    private String group;
    
    private String topic;
    
    private String tag;

    private String key;

    private String messageContext;

    private String msgId;

    private String queueId;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getMessageContext() {
        return messageContext;
    }

    public void setMessageContext(String messageContext) {
        this.messageContext = messageContext;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getQueueId() {
        return queueId;
    }

    public void setQueueId(String queueId) {
        this.queueId = queueId;
    }

    @Override
    public String toString() {
        return "BMessage [group=" + group + ", topic=" + topic + ", tag=" + tag + ", key=" + key + ",msgId=" + msgId
                + ", messageContext=" + messageContext + "]";
    }
}
